﻿using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace ComHlp.ContentClasses.VirtualControls.MachineUsage
{
    /// <summary> intex machine usage </summary>
    [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
    public class ItxMachineUsageHead
    {
        /// <summary> number, 1 by default </summary>
        public int Number { get; set; }

        /// <summary> number of usage blocks to display </summary>
        public int NumberOfColumns { get; set; }

        /// <summary> number of resources </summary>
        public int NumberOfRows { get; set; }

        /// <summary> absolute maximum of blocks </summary>
        public int AbsoluteMaxX { get; set; }

        /// <summary> maximum number of resources </summary>
        public int MaxY { get; set; }

        /// <summary> current number of resources </summary>
        public int CurrentY { get; set; }

        /// <summary> maximum number of blocks </summary>
        public int MaxX { get; set; }

        /// <summary> current number of blocks </summary>
        public int CurrentX { get; set; }

        /// <summary> absolute maximum of resources </summary>
        public int AbsoluteMaxY { get; set; }

        /// <summary> usage for each machine </summary>
        public List<ItxMachineUsageDisplay> SingleMachine { get; } = new List<ItxMachineUsageDisplay>();

        /// <summary> days to display (==columns)</summary>
        public List<string> DaysForDisplay { get; set; }
    }
}